package com.csun.cmny.provider.service;

import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.DmcPhoneDataHi;
import com.csun.cmny.provider.model.dto.phone.PhoneDataHiPageQuery;
import com.github.pagehelper.PageInfo;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-01-09 16:52
 * @Description: the interface dmc phone data hi service
 */
public interface DmcPhoneDataHiService extends IService<DmcPhoneDataHi> {

    /**
     * query dmc phone data hi list with page
     *
     * @param phoneDataHiPageQuery  the phone data hi query page
     *
     * @return  the page info
     */
    PageInfo queryDmcPhoneDataHiListWithPage(PhoneDataHiPageQuery phoneDataHiPageQuery);

    /**
     * insert dmc phone data hi
     *
     * @param dmcPhoneDataHi    the dmc phone data hi
     *
     * @return  the int
     */
    Integer insertDmcPhoneDataHi(DmcPhoneDataHi dmcPhoneDataHi);

    /**
     * delete dmc phone data hi by device id
     *
     * @param deviceId  the device id
     *
     * @return  the int
     */
    Integer deleteDmcPhoneDataHiByDeviceId(Long deviceId);

}
